<html>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><!-- base href="http://localhost:8080/Drinkmeter/FacebookServlet" --> 
        
</head> 
<script language="javascript">
    function verify(element, name){
        
        if(confirm("Do you what delete a "+name)){
            element.style.display = "none";
        }
        
    }
    
    function example(){
        alert('example');
    }
    
    function arreglo(variable){
        for(i=0;i<variable.length;i++){
            alert(variable[i]);
        }
        
    }
    
    </script>
    
    <body class="ui-mobile-viewport">
                
                <select onchange='arreglo(new Array("Saab","Volvo","BMW"))'>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                </select>
</body></html>
